const user = {
    set: (value: string) => {
        sessionStorage.setItem("user", value);
    },
    get: () => {
        return  sessionStorage.getItem('user');
    },
    clear: () => {
        sessionStorage.removeItem('user');
    }
}
export default user;